package org.playground.booking.service;

import org.playground.booking.dto.BookingDto;
import org.playground.booking.dto.CoursList;
import org.playground.booking.dto.SportList;
import org.playground.booking.entity.Booking;
import org.playground.booking.entity.Playground;

import java.util.Date;
import java.util.List;

/**
 * Created by root on 17-10-29.
 */
public interface IPlaygroundService {
    void createPlayground(Playground toCreate);
    void updatePlayground(Playground toUpdate);
    SportList getAllSports();
    CoursList getCours(int sportId, boolean includBookins, boolean includMinutesForTime, Date date);
    List<CoursList> getCoursForMerchant(Long merchantId, Integer sportId, boolean includBookings, boolean includMinutesForTime, Date date);
    List<BookingDto> readBookingOfPlayground(Long playgroundId);

}
